package com.config;
import com.util.ConfigurableConstants;
public class Constants extends ConfigurableConstants {
	static {
        init("config/common.properties");
    }
	
	/**
	 * 岗位类型
	 * 高管岗位
	 */
	public final static String IMPORTLEVEL_01 = getProperty("importLevel_01", "01");
	/**重要岗位*/
	public final static String IMPORTLEVEL_02 = getProperty("importLevel_02", "02");
	/**一般岗位*/
	public final static String IMPORTLEVEL_03 = getProperty("importLevel_03", "03");
	
	/**
	 * 性别
	 * 男
	 */
	public final static String SEX_01 = getProperty("sex_01", "1");
	/**女*/
	public final static String SEX_02 = getProperty("sex_02", "2");
	
	/**
	 * 数据填报状态
	 * 待提交
	 */
	public final static String STATE_01 = getProperty("state_01", "01");
	/**待审核*/
	public final static String STATE_02 = getProperty("state_02", "02");
	/**审核通过*/
	public final static String STATE_03 = getProperty("state_03", "03");
	/**被退回*/
	public final static String STATE_04 = getProperty("state_04", "04");
	/**已解锁*/
	public final static String STATE_05 = getProperty("state_05", "05");
	
	/**
	 * 是否状态
	 */
	/**是*/
	public final static String YES = getProperty("yes","1");	
	/**否*/
	public final static String NO = getProperty("no","0");	

	/*
	 * 页面跳转操作
	 * 
	 */
	/**页面初始化*/
	public final static String INIT = getProperty("init","init");	
	/**列表查询*/
	public final static String QUERYLIST = getProperty("querylist","queryList");	
	/**新增*/
	public final static String ADD = getProperty("add","add");
	/**修改*/
	public final static String EDIT = getProperty("edit","edit");
	/**删除*/
	public final static String DELETE = getProperty("delete","delete");
	/**删除-详细页面删除单条记录*/
	public final static String DELBYID = getProperty("delbyid","delById");
	/**返回*/
	public final static String BACK = getProperty("back","back");
//	/**保存*/
//	public final static String SUBMIT = getProperty("submit","submit");
	/**保存-新增*/
	public final static String SAVE_INSERT = getProperty("insert","insert");
	/**保存-修改*/
	public final static String SAVE_UPDATE = getProperty("update","update");
	/**进入详细页面-查看页面进入*/
	public final static String QUERYDETAIL = getProperty("querydetail","queryDetail");
	/**excelExport导出*/
	public final static String EXCELEXPORT = getProperty("excelexport","excelExport");
	/**check*/
	public final static String CHECK = getProperty("check","check");
	/**ajax*/
	public final static String AJAX = getProperty("ajax","ajax");
	/**查看详细信息*/
	public final static String LOOKPARTICULAR = getProperty("lookparticular","lookparticular");
	/**导出EXCEL文件*/
	public final static String EXCEL = getProperty("excel","excel");
	/**文件下载*/
	public final static String download = getProperty("download","download");
	/**生成数据文件*/
	public final static String CREATEDATEFILR = getProperty("createdatefile","createdatefile");
	
	/*
	 * 共用取下拉列表key,value
	 * 
	 */	
	/**代码*/
	public final static String CODE = getProperty("code","CODE");
	/**名称*/
	public final static String NAME = getProperty("name","NAME");
	
	/**
	 * @返回参数 mapping.findForward() 
	 * */
	
	/** 初始化 INIT*/
	public final static String List = "list";
	/** 查询 QUERYLIST*/
	public final static String queryList = "queryList";
	/** 结果集 SAVE_INSERT，SAVE_UPDATE，DELETE*/
	public final static String doList = "doList";
	/** 进入新增编辑页面 ADD，EDIT */
	public final static String detail = "detail";
	/** 返回List页面 back */
	public final static String back = "back";
	/** 查看详细信息 particular */
	public final static String particular = "particular";
	/**导出EXCEL*/
	public final static String excel = "excel";
	/**生成数据文件*/
	public final static String createdatefile = "createdatefile";
	
	
	/**
	 * @码表SQL
	 * */
	/**客户类别*/
	public final static String c_customer_type = "select code as CODE,name as NAME from c_customer_type where state='1' order by id";
	/**地区分类*/
	public final static String c_area_group = "select code as CODE,name as NAME from c_area_group where state='1' order by id";
	/**付款方式*/
	public final static String c_payment_terms = "select code as CODE,name as NAME from c_payment_terms where state='1' order by id";
	/**销售员*/
	public final static String c_saleman = "select code as CODE,name as NAME from c_saleman where state='1' order by id";
	/**材料家族*/
	public final static String pc_material_family = "select code as CODE,name as NAME from pc_material_family order by id";
	/**材料列表*/
	public final static String t_materials = "select code as CODE,name as NAME from t_materials where state='1' order by id";
	/**计量单位*/
	public final static String t_measure_units = "select id as CODE,name as NAME from t_measure_units where state='1' order by id";
	/**产品类别*/
	public final static String t_product_type = "select code as CODE,name as NAME from t_product_type where state='1' order by ob";
	/**模型类别*/
	public final static String t_product_model = "select code as CODE,name as NAME from t_product_model where state='1' order by type,code";
	/**订单状态*/
	public final static String state_type = "select code as CODE,name as NAME from c_order_state where state='1' order by id";
	/**库存原因*/
	public final static String c_stock_reason_type="select code as code, name as name from c_stock_reason_type where state='1' order by id";
	/**库存原因*/
	public final static String t_tablename="select code as code, name as name from t_s_tablename order by id";
	
	/**商务模块码表*/
	/**客户类别*/
	public final static String dm_c_customer_type = "c_customer_type";
	public final static String title_c_customer_type = "客户类别";
	/**地区分类*/
	public final static String dm_c_area_group = "c_area_group";
	public final static String title_c_area_group = "地区分类";
	/**产品类别*/
	public final static String dm_t_product_type = "t_product_type";
	public final static String title_t_product_type = "产品类别";
	/**库存原因*/
	public final static String dm_c_stock_reason_type="c_stock_reason_type";
	public final static String title_c_stock_reason_type="库存原因";
	/**付款方式*/
	public final static String dm_c_payment_terms = "c_payment_terms";
	public final static String title_c_payment_terms = "付款方式";
	/**销售员*/
	public final static String dm_c_saleman = "c_saleman";
	public final static String title_c_saleman = "销售员";

	
	
}